package com.kuangstudy.test;

/**
 * @author Losca
 * @date 2022/3/26 21:00
 */
public class Demo9 extends Thread{
    @Override
    public void run(){
        try{
            Thread.sleep(1000);
        }catch (InterruptedException e){
            e.printStackTrace();
        }
        System.out.print("run");
    }
    public static void main(String[] args){
        Demo9 example=new Demo9();
        example.run();
        System.out.print("main");
    }
}
